package
{
	import mx.collections.IList;
	import mx.collections.ArrayCollection;
	
	[Bindable]
	public class Global
	{
		private static var instance:Global;
		public var usuario:String = "";
		public var dpTecnicas:ArrayCollection = new ArrayCollection();
		public var dpTpDisparos:ArrayCollection = new ArrayCollection();
		
		public function Global() {
			if (instance != null)
				throw new Error("Only one global instance should be instantiated");
		}
		
		public static function getInstance():Global {
			if (instance==null) {
				instance = new Global();
			}
			return instance;
		}
	}
}